#pragma once

#include <ctime>
#include <iostream>
#include <string>

enum status
{
    Debug,
    Notice,
    Warning,
    Error
};

const std::string str[] = {
    "Debug",
    "Notice",
    "Warning",
    "Error"
};

std::ostream& log(std::string message, status level)
{
    std::cout << " | " << str[level] << " | " << (unsigned int)time(nullptr) << " | " << message << "\t";
    return std::cout;
}